<!--#include file="lib/utf-8.asp"-->
<!--#include file="lib/connopen.asp"-->
<!--#include file="lib/asp-common-lib.asp"-->
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>EOC监控系统</title>
<!--#include file="lib/plugins.asp"-->
<link rel="stylesheet" href="lib/jquery.ztree/css/zTreeStyle/zTreeStyle.css" type="text/css">
<script type="text/javascript" src="lib/jquery.ztree/js/jquery.ztree.core-3.0.js"></script>

<style type="text/css">
  .ui-datepicker table {
    border: 0;
  }
</style>
<script type="text/javascript">
  $(function() {
  
    var setting = {
      async: {
        enable: true,
        url:"getNodes.asp",
        autoParam:["id=groupid"],
        //otherParam:{"otherParam":"zTreeAsyncTest"},
        dataFilter: filter
      },
      callback: {
        beforeAsync: beforeAsync
      }
    };

    function filter(treeId, parentNode, childNodes) {
      if (!childNodes) return null;
      for (var i=0, l=childNodes.length; i<l; i++) {
        childNodes[i].name = childNodes[i].name.replace(/\.n/g, '.');
      }
      return childNodes;
    }
    function beforeAsync(treeId, treeNode) {
      return treeNode ? treeNode.level < 5 : true;
    }
  
  
    $.fn.zTree.init($("#treeDemo"), setting);
  });
</script>
<!--#include file="lib/js-google-analytics.asp"-->
</head>

<body>
<!--#include file="lib/header.asp"-->
<!--#include file="lib/nav.asp"-->
<div id="main">
<!--#include file="lib/col1.asp"-->
<!--#include file="lib/col2.asp"-->
  <div id="col3" role="main">
    <div id="col3_content" class="clearfix">
      <ul id="treeDemo" class="ztree"></ul>
    </div>
  </div>
</div>
<!--#include file="lib/footer.asp"-->
</body>
</html>
<!--#include file="lib/connclose.asp"-->

